<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <script>
		var EastSheetData = [
			{"id": "px_057806", "name": "", "text": "Sheet1", "icon": "attribute.png"},
			{"id": "px_491952", "name": "", "text": "Sheet2", "icon": "bar.png"},
			{"id": "px_398351", "name": "", "text": "Sheet3", "icon": "jueseyonghu.png"},
			{"id": "px_627611", "name": "", "text": "Sheet4", "icon": "group.png"},
			{"id": "px_791824", "name": "", "text": "Sheet5", "icon": "lock.png"}
		];
		var EastSheetGroupRelevanceDataObj = null;
		var EastGroupNodeRelevanceDataObj = null;
		var EastGroupNodeTableRelevanceDataObj = null;
		var EastGroupFeatureAttrRelevanceDataObj = null;
		var EastGroupSearchRelevanceDataObj = null;
		var CenterDefaultShowAttrDataObj = null;

		var EastStateComboboxData = [
			{
				id: 'zt_0001',
				name: '状态1',
				sheetIds: [
					"px_057806", "px_491952"
				]
			},
			{
				id: 'zt_0002',
				name: '状态2',
				sheetIds: [
					"px_398351", "px_627611", "px_791824"
				]
			},
			{
				id: 'zt_0003',
				name: '状态3',
				sheetIds: [
					"px_627611"
				]
			},
		]

		var tar = EastStateComboboxData.find(item => {
			return item.id === 'zt_0002';
    });
		console.log(tar);
		var sheetIds = tar.sheetIds;

		var tabsData = [];
		for (let i = 0; i < EastSheetData.length; i++) {
			console.log(sheetIds.indexOf(EastSheetData[i].id));
      if (sheetIds.indexOf(EastSheetData[i].id) !== -1) {
				tabsData.push(EastSheetData[i]);
      }
		}
		console.log(tabsData);


  </script>
</head>
<body>

</body>
</html>
